package com.smartcar.admin.service;

import com.smartcar.common.domain.User;
import com.smartcar.common.domain.request.FindUserVo;
import com.smartcar.common.domain.request.UpdateLoginVo;
import org.springframework.web.multipart.MultipartFile;

public interface AdminService {
    User findUserByUserName(FindUserVo findUserVo);

    int insertUser(User user);

    User verifyUniqueUserName(String username);

    String uploadPicture(MultipartFile file);

    User findByPhone(String phone);

    int updateLogin(UpdateLoginVo updateLoginVo);

    int updateDriverAcceptStatus(User user);

    int updateDriverCar(User user);

    int updateDriverAddr(User user);
}
